package com.example.petproject.mapper;

import com.example.petproject.entity.model.PmsCommentPic;

import java.util.List;

public interface PmsCommentPicMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(PmsCommentPic record);

    PmsCommentPic selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PmsCommentPic record);

    /**
     * 根据评论id查询评论图片路径
     * @param commentId
     * @return
     */
    List<String> selectPicUrlByCommentId(Integer commentId);
}